import * as React from 'react';
import {observer} from 'mobx-react'
import styles from './index.scss';


interface IProps {
    count: string// 工单数量
}

interface IStates {
}

@observer
class Home extends React.Component<IProps,IStates> {

    constructor(props) {
        super(props);
    }


    public render() {
        const {count} = this.props
        return (
            <div className={styles.num}>
                <div className={styles.left}>
                    <div className={styles.card} />
                    <div className={styles.card} />
                    <div className={styles.text}>{count}</div>
                </div>
            </div>
        );
    }
}

export default Home;
